package com.jiangkang.lottery.po;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author 
 * @since 2020-03-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("ssff")
public class Ssff extends Model<Ssff> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("lotId")
    private Integer lotId;

    @TableField("lotName")
    private String lotName;

    @TableField("logoUrl")
    private String logoUrl;

    private String issue;

    @TableField("surplusOpenTime")
    private Integer surplusOpenTime;

    @TableField("surplusCloseTime")
    private Integer surplusCloseTime;

    @TableField("surplusWinTime")
    private Integer surplusWinTime;

    @TableField("lastIssue")
    private String lastIssue;

    @TableField("lastWinStatus")
    private Integer lastWinStatus;

    @TableField("lastWinNum")
    private String lastWinNum;

    private Integer total;

    private Integer status;

    @TableField("createTime")
    private LocalDateTime createTime;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
